package com.zmy.seursstarter;

import com.zmy.seursstarter.core.SeuAuth;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class SeuAuthApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(SeuAuthApplication.class, args);
        SeuAuth seuAuth = context.getBean(SeuAuth.class);
        System.out.println(seuAuth);
        seuAuth.auth_lecture("220232736","175518");
        System.out.println(seuAuth.getGs_sessionId());
        seuAuth.auth("220232736","175518");
    }
}
